//
//  DCGlobal.m
//  drawacartoon
//
//  Created by Ji Hu on 12-8-17.
//  Copyright (c) 2012年 爱辅导. All rights reserved.
//

#import "DCGlobal.h"

static UIColor *localColor = nil;

@implementation DCGlobal

+(UIColor *)localColor{

    if (localColor==nil) {
        localColor = [[UIColor redColor] retain];
    }
    
    return localColor;
}

+(void)setLocalColor:(UIColor *)color{
    
    if (localColor) {
        [localColor release];
        localColor = nil;
    }
    
    localColor  = [color retain];
    
}

@end
